package com.zoweunion.mechanic.dao.base;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component
public interface WarningDao {

	
	/**
	 * 根据条件查询报警列表信息
	 * @param reqMap
	 * @return
	 */
	List<Map<String,Object>>pageQuery(Map<String, Object> reqMap);

	/**
	 * 根据条件查询报警信息总数
	 * @param reqMap
	 * @return
	 */
	int countBycondition(Map<String, Object> reqMap);
	
	/**
	 * 根据id查询报警信息详情  
	 */
	List<Map<String, Object>> getWarningInfoById(Map<String, Object> reqMap);
	
}
